/* Lac Viet ERP                                                
 * Copyright (c) 2013 Lac Viet                                 
 * http://www.lacviet.com.vn                                   
 *=============================================================
 * File name            : IV_tblInventTrans.cs         
 * Created by           : Auto - 04/23/2014 15:03:45                     
 * Last modify          : Auto - 04/23/2014 15:03:45                     
 * Version              : 1.0                                  
 * ============================================================
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LineOfBusiness.Poco
{
	[Serializable]
	public partial class IV_tblInventTrans : BaseEntity
	{
		public IV_tblInventTrans()
		{
			this.Quantity = 0;
		}

	    #region Properties

		private Guid _RecordID;

        [Key]
		[Required]
        public Guid RecordID 
		{ 
			get
			{
                return _RecordID;
			}
			set 
			{ 
                _RecordID = value;
			} 
		}

		private Guid? _LineRecordID;
        public Guid? LineRecordID 
		{ 
			get
			{
                return _LineRecordID;
			}
			set 
			{ 
                _LineRecordID = value;
			} 
		}

		private string _ItemID;
        [MaxLength(20)]
        public string ItemID 
		{ 
			get
			{
                return _ItemID;
			}
			set 
			{ 
                _ItemID = value;
			} 
		}

		private string _ReceiptStatus;
        [MaxLength(1)]
        public string ReceiptStatus 
		{ 
			get
			{
                return _ReceiptStatus;
			}
			set 
			{ 
                _ReceiptStatus = value;
			} 
		}

		private string _IssueStatus;
        [MaxLength(1)]
        public string IssueStatus 
		{ 
			get
			{
                return _IssueStatus;
			}
			set 
			{ 
                _IssueStatus = value;
			} 
		}

		private string _WarehouseID;
        [MaxLength(20)]
        public string WarehouseID 
		{ 
			get
			{
                return _WarehouseID;
			}
			set 
			{ 
                _WarehouseID = value;
			} 
		}

		private string _UMID;
        [MaxLength(20)]
        public string UMID 
		{ 
			get
			{
                return _UMID;
			}
			set 
			{ 
                _UMID = value;
			} 
		}

		private decimal? _Quantity;
        public decimal? Quantity 
		{ 
			get
			{
                return _Quantity;
			}
			set 
			{ 
                _Quantity = value;
			} 
		}

		private string _VoucherNo;
        [MaxLength(20)]
        public string VoucherNo 
		{ 
			get
			{
                return _VoucherNo;
			}
			set 
			{ 
                _VoucherNo = value;
			} 
		}

		private DateTime? _CreatedDate;
        public DateTime? CreatedDate 
		{ 
			get
			{
                return _CreatedDate;
			}
			set 
			{ 
                _CreatedDate = value;
			} 
		}

		private string _UserID;
        [MaxLength(20)]
        public string UserID 
		{ 
			get
			{
                return _UserID;
			}
			set 
			{ 
                _UserID = value;
			} 
		}

        #endregion
	}
}
